package com.example.mq.mqserver.core;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2023-09-30
 * Time: 14:43
 */
public enum ExchangeType {
    DIRECT(0),
    FANOUT(1),
    TOPIC(2);
    private final int type;
    private ExchangeType(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }
}
